package me.zhengjie.modules.shop.domain.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class MyCartListResp {
    @ApiModelProperty(value = "自增id")
    private Long id;

    @ApiModelProperty(value = "user_id")
    private Long userId;

    @ApiModelProperty(value = "商品id")
    private Long pId;

    @ApiModelProperty(value = "规格id")
    private Long kId;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "商品封面")
    private String cover;

    @ApiModelProperty(value = "商品简介")
    private String intro;

    @ApiModelProperty(value = "数量")
    private Integer num;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    @ApiModelProperty(value = "销量")
    private Integer sold;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
}
